xl: remove needless infinite-loop construct in create_domain
authorMatthew Daley <mattjd@gmail.com>
Wed, 30 Oct 2013 07:51:57 +0000 (20:51 +1300)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 31 Oct 2013 21:55:52 +0000 (21:55 +0000)
commit50b9bdf83b35242f3c5170ac823791f3102bff1f
tree8555543d01c36a7f30cf2481442cd858fa89c673
parent77d8f863729f3b2d0eded2be5a230174ed4baff9
xl: remove needless infinite-loop construct in create_domain

Use a simple if condition instead.

Coverity-ID: 1056150
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c